import React from "react";

interface IProp {
  title: string;
  time: string;
}

export default function TodoContent(props: IProp) {
  const { title, time } = props;
  return (
    <span className="task-text">
      <span className="task-title">{title}</span>
      <span className="task-time">{time}</span>
    </span>
  );
}
